package com.zzyl.mapper;

import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectMapper {
    List<NursingProject> selectByPage(Integer pageNum, Integer pageSize, String name, Integer status);

    void addProject(NursingProject bean);

    NursingProject selectById(Long id);

    void updateproject(NursingProject bean);

    void ture_false(Long id, Integer status);

    void deleteproject(Long id);

    void deleteById(Long id);

    List<NursingProjectVo> selectAll();

}
